﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Cadcam7Moddel.Model
{
    public class Subject
    {
         [Key]
        public int ID { get; set; }
        public string Name { get; set; }

        public string LangID { get; set; }
        [ForeignKey("LangID")]
        public virtual NgonNgu NgonNgu { get; set; }

        public string NoiDung { get; set; }

        [InverseProperty("Subject")]
        public virtual ICollection<Mon> Mons { get; set; }
    }
}
